(function(window){
	var Index_index = {
		data:{},
		init: function(data){
			$(".toolbar").hide();
			Index_index.data=data;
			swiper = new Swiper('.swiper-container', {
						pagination: '.swiper-pagination',
						//nextButton: '.swiper-button-next',
					//	prevButton: '.swiper-button-prev',
						 loop: true,
					 	spaceBetween: 30,
						centeredSlides: true,
						autoplay: 2500,
					}) 
			var h=$(window).height();		
			$(".banner .swiper-slide").height(h*0.25);	
			$("#container").height(h-h*0.25-40);
        },
		afterShow:function(){
			$(".toolbar").hide();
		}
    };	
	window.Designer_Index_indexCtrl = Index_index;
						
})(window);